package org.homework;

/**
 * 人员身份
 */
public class Person {
    /**
     * 用户名
     */
    String username;
    /**
     * 密码
     */
    String password;
    /**
     * 年龄
     */
    Integer age;
    /**
     * 角色
     * 分为员工、老板、客户
     */
    String role;

    public Person() {
    }

    public Person(String username, String password, Integer age, String role) {
        this.username = username;
        this.password = password;
        this.age = age;
        this.role = role;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
